$def with (results,query,wikiDef,images)
<!DOCTYPE HTML>
<head>
	<title>Team 3 - Search: $query</title>
	<link type='text/css' rel='stylesheet' href='static/style.css'> 
</head>
<style>

</style>
<body>
<h1>
	Team 3 Search
	<form name='search' action='search' method='get'>
		<input type='text' name='query' value='$query'/>
		<button type='submit'>Submit</button>
	</form>
</h1>
<div id="image_results">
	$if images:
		<div><h2>Images</h2><h6> provided by <a href='https://donate.wikimedia.org/w/index.php?title=Special:FundraiserLandingPage&country=US&uselang=en'>Wikimedia Commons</a></h6></div>
		$for image in images:
			<a href='$image'><img src='$image'></img></a>
</div>
$if wikiDef:
	<div id=def>
		<h3>$wikiDef.get("title")</h3>
		<p>$:wikiDef.get("def")</p>
		<a href='$wikiDef.get("url")'>For more information</a>
	</div>
	
<div id='results'>
<h2>Results for $query</h2>
<ul>
$for result in results:
	<li>
		<h3><a href='$result.get("url")'>$result.get("title")</a></h3>
		<h4>$result.get("url")</h4>
		<div class='summary'>$:result.get("kwic")</div>
	</li>
</ul>
</body>
</html>